﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Core
{
    public class VirtualMenu : IGuidKeyEntity
    {
        public Guid Id { get; set; }
        public Guid AppId { get; set; }
        public Guid PageId { get; set; }
        public string Name { get; set; }

        public Guid? ImageId { get; set; }
        public string Caption { get; set; }

        public string UrlType { get; set; }
        public string Url { get; set; }
        public string Arguments { get; set; }
        public List<VirtualMenu> Children { get; set; }
        public Guid? ParentId { get; set; }
        public int SortIndex { get; set; }
        /// <summary>
        /// 导航对应到的视图会切换到对应的group的视图容器中
        /// </summary>
        public string GorupName { get; set; }


        public void Validation()
        {
        }
    }
}
